package JDBC1;

import java.util.Scanner;

public class TextAdmin {
    public static void main(String[] args) throws Exception {
        System.out.println("-------欢迎登录---------");
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入您的用户名:");
        String admin= scanner.next();
        System.out.println("请输入您的密码:");
        String password= scanner.next();
        JdbcStudy jdbcStudy = new JdbcStudy();
        boolean admin1 = jdbcStudy.isAdmin(admin, password);
        System.out.println(admin1);
    }
}
